package org.linlinjava.litemall.admin.form;

import javax.validation.constraints.NotEmpty;
import java.util.List;

public class HomeAddAdForm {
    private Integer id;
    @NotEmpty(message = "标题不能为空")
    private String name;
    private String link;
    @NotEmpty(message = "图片不能为空")
    private String url;
    @NotEmpty(message = "点击事件不能为空")
    private String event;
    private Integer cityType;
    private List<HomeAddAdCityForm> citys;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getCityType() {
        return cityType;
    }

    public void setCityType(Integer cityType) {
        this.cityType = cityType;
    }

    public List<HomeAddAdCityForm> getCitys() {
        return citys;
    }

    public void setCitys(List<HomeAddAdCityForm> citys) {
        this.citys = citys;
    }

    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }
}
